package eva.savant.core.navigation;

import eva.savant.businessobject.ad.Transaccion;

import java.io.Serializable;

public class Content implements Serializable {


    protected String id;

    protected String code;

    protected String bean;

    protected String title;

    protected String pageRef;


    public Content(Transaccion transaccion) {

        id= transaccion.getId();

        code= transaccion.getCodigo();

        title= transaccion.getNombre();

        pageRef= transaccion.getRuta();
    }

    public Content() {

    }

    public String getId() {

        return id;
    }

    public void setId(String value) {

        this.id = value;
    }

    public String getCode() {

        return code;
    }

    public void setCode(String code) {

        this.code = code;
    }

    public String getBean() {

        return bean;
    }

    public void setBean(String bean) {

        this.bean = bean;
    }

    public String getTitle() {

        return title;
    }

    public void setTitle(String value) {

        this.title = value;
    }

    public String getPageRef() {

        return pageRef;
    }

    public void setPageRef(String pageRef) {

        this.pageRef = pageRef;
    }
}

